package com.doxiaopu.students.user.service;

import com.doxiaopu.students.user.vo.MerchantVO;

import java.util.Map;

public interface IMerchantService {
    /**
     * 创建商家地址信息
     * @param merchantVO
     * @return
     */
    Integer CreateMerchant(MerchantVO merchantVO,Integer id);

    /**
     * 查询商家列表
     * @param phone
     * @param storeName
     * @param currentPage
     * @param pageSize
     * @return
     */
    Map<String, Object> findMerchantList(String phone,String storeName, Integer currentPage, Integer pageSize);

    /**
     * 编辑商家信息
     * @param merchantVO
     * @return
     */
    Integer updateMerchant(MerchantVO merchantVO,Integer id);
}
